package com.ruoyi.system.domain;

public class CustomerCount {

    private String gender;
    private int genderCount;

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getGenderCount() {
        return genderCount;
    }

    public void setGenderCount(int genderCount) {
        this.genderCount = genderCount;
    }

    public ChartData toChartData(){
        ChartData chartData = new ChartData();
        chartData.setName(gender);
        chartData.setValue(genderCount);
        return chartData;
    }
}
